var config = require("core/config");
var host = config.host;
var imRootUrl = host + "/im";

module.exports.url = {
		user:{
			getImUser: imRootUrl+"/user/getImUser",
			getMyImUser: imRootUrl+"/user/getMyImUser",
			isMeOnline: imRootUrl+"/user/isMeOnline",
			offLine: imRootUrl+"/user/offLine",
			getImOnlineService: imRootUrl+"/user/getImOnlineService"
		},
		group:{
			getImGroup: imRootUrl+"/group/getImGroup"
		},
		message:{
			getOurImMessage: imRootUrl+"/message/getOurImMessage",
			getGroupImMessage: imRootUrl+"/message/getGroupImMessage",
			getOtherMessage: imRootUrl+"/message/getOtherMessage",
			sendMsgToUser: imRootUrl+"/message/sendMsgToUser"
		}
};